package com.ziyun.pop.common.e.material;

import com.ziyun.pop.common.e.BaseEnum;

/**
 * 原材料发布状态
 *  发布状态:0.待审核;1.已审核
 * @author 桂朝
 * @date 2018/8/9 19:10
 */
public enum MaterialStatusEnum implements BaseEnum {
    WAIT_AUDIT(0, "待审核"),
    ALREADY_AUDIT(1, "已审核");

    private int id;
    private String describe;

    MaterialStatusEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
